package com.evil.log.api;

import com.evil.common.family.constant.ServiceNameConstant;
import com.evil.log.config.LogFeignErrorDecoder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 操作日志接口
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@FeignClient(name = ServiceNameConstant.LOG_SERVICE, configuration = {LogFeignErrorDecoder.class})
public interface RemoteOperationLogService {

    /**
     * 插入操作日志
     */
    @PostMapping("/remote/operation/log")
    void insertOperationLog();
}
